package com.sdcqjy.property.utils;

import android.content.Context;
import android.widget.ImageView;

import com.youth.banner.loader.ImageLoaderInterface;

/**
 * Created by 磁磁帅 on 2018/3/29.
 * 功能：
 */

public class GlideBannerImageLoader implements ImageLoaderInterface<ImageView> {
    public void displayImage(Context context, Object o, ImageView imageView) {
        GlideUtils.displayOfUrl(context, imageView, o.toString());
    }

    public ImageView createImageView(Context context) {
        return new ImageView(context);
    }
}